package com.zhala.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author SSH
 * @version 1.0
 * @description: 完成时间线对象
 * @date 2024/11/12 19:19
 */
@Data
public class TimeLineVO {
    /**
     * 完成操作名称
     */
    private String title;

    /**
     * 完成时间节点
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date happenDate;

    public TimeLineVO(String title, Date happenDate) {
        this.title = title;
        this.happenDate = happenDate;
    }
}
